/*This file is part of AENIMA. AENIMA is a module of BCI++ framework for the implementation of brain computerinterface systems. 
AEnima is intended for use with BCI++ only.

BCI++ is a project of the Sensibilab of the Politecnico di Milano. 

AENIMA is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as 
published by the Free Software Foundation, either version 3 of 
the License, or (at your option) any later version.

AENIMA is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU General Public License
and the GNU Lesser General Public License along with AENIMA.  
If not, see <http://www.gnu.org/licenses/>.*/

/*!
	\file	Constants.h
	 The file Constants.h contains the main constants used in the software:\n
	 path for pictures and meshes;\n
	 graphics settings;\n
	 names and constants.

	\author	Sensibilab Email:info.sensibilab@polimi.it

	\date	2007-09-06 creation \n
		2009-01-27 last modification

	\b COPYRIGHT: 
		This program is property of Sensibilab - Campus Ponit - Lecco
*/
#pragma once
//The IP address is setting through command line
#define	SOCK_PORT		3001

// MUSIC & AUDIO
#define	MAXSOUNDSTREAMS		32
#define	MAXIDLEN			10
#define	FX_DIRECTION    "../Media/FX/chimes.wav"
//#define	FX_LEFT			"../Media/FX/chimes.wav"
//#define	FX_RIGHT		"../Media/FX/chimes.wav"
//#define	FX_UP			"../Media/FX/chimes.wav"
//#define	FX_DOWN			"../Media/FX/chimes.wav"
//#define	FX_NULL			"../Media/FX/chimes.wav"

// PROTOCOL
#define INITIAL_PAUSE 5000 // Milliseconds

#define RIGHT	8
#define LEFT	1
#define UP		16
#define DOWN	32
#define NONE	4

#define	EVENTSEQUENCE	{RIGHT,LEFT,UP,DOWN,NONE} // 1-right	2-left	3-right	4-down	0-null
const int TESTING_SEQUENCE[] = {UP,DOWN,LEFT,RIGHT,UP,DOWN,LEFT,RIGHT};
const int TRAINING_SEQUENCE[] = {LEFT,NONE,UP,NONE,RIGHT,NONE,DOWN};

// GRAPHIC ENGINE
//#define HRES			800	
//#define VRES			600
//#define	COLORBIT		32
//#define FULLSCREEN		false
#define	STENCIL			false
//#define	VSINC			true
#define	ETCF_BIT		true
#define	ETCF_QUALITY	true
#define	ETCF_MIPMAP		true
// -> Background
#define	SKYDOME_PATH	"../Media/SkyDome/ontherange.jpg"

// ENGINE NODES LIST
#define CAMERA			"SceneCamera"
#define SKY				"sky"
#define CUE				"cue"
#define CENTER			"center"
#define FB_LEFT			"fbleft"
#define FB_LEFT_PAR		"fbleft_Par"
#define FB_RIGHT		"fbright"
#define FB_RIGHT_PAR	"fbright_Par"
#define FB_UP			"fbup"
#define FB_UP_PAR		"fbup_Par"
#define FB_DOWN			"fbdown"
#define FB_DOWN_PAR		"fbdown_Par"

#define STATUS_ON		"status_on"
#define STATUS_OFF		"status_off"

#define BLANK_L			"blank_l"
#define BLANK_R			"blank_r"
#define BLANK_U			"blank_u"
#define BLANK_D			"blank_d"

//NODE LIST FOR MI
#define MI_LEFT			"left"
#define MI_RIGHT		"right"
#define MI_UP			"up"
#define MI_DOWN			"down"

#define BIG_BALL		"bigball"

//FOR SOCKET EVENT
#define ISBCIMESSAGE 1000

